package GUI;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JRadioButton;
import java.awt.ScrollPane;
import javax.swing.JInternalFrame;

public class ModoDesafio extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					ModoDesafio frame = new ModoDesafio();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public ModoDesafio() {
		setTitle("<Modo.Desafio>");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 800, 600);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblPergunta = new JLabel("Pergunta");
		lblPergunta.setFont(new Font("Lucida Console", Font.PLAIN, 30));
		lblPergunta.setBounds(50, 70, 420, 46);
		contentPane.add(lblPergunta);
		
		JRadioButton rdbtnAlternativa1 = new JRadioButton("alternativa1");
		rdbtnAlternativa1.setBounds(50, 186, 109, 23);
		contentPane.add(rdbtnAlternativa1);
		
		JRadioButton rdbtnAlternativa2 = new JRadioButton("alternativa2");
		rdbtnAlternativa2.setBounds(50, 279, 109, 23);
		contentPane.add(rdbtnAlternativa2);
		
		JRadioButton rdbtnAlternativa3 = new JRadioButton("alternativa3");
		rdbtnAlternativa3.setBounds(50, 372, 109, 23);
		contentPane.add(rdbtnAlternativa3);
		
		JRadioButton rdbtnAlternativa4 = new JRadioButton("alternativa4");
		rdbtnAlternativa4.setBounds(50, 465, 109, 23);
		contentPane.add(rdbtnAlternativa4);
		
		JInternalFrame internalFrame = new JInternalFrame("SCORE");
		internalFrame.setBounds(497, 0, 287, 105);
		contentPane.add(internalFrame);
		internalFrame.getContentPane().setLayout(null);
		
		JLabel lblNome = new JLabel("NOME");
		lblNome.setFont(new Font("Lucida Console", Font.PLAIN, 11));
		lblNome.setBounds(20, 7, 46, 14);
		internalFrame.getContentPane().add(lblNome);
		
		JLabel lblPontos = new JLabel("PONTOS");
		lblPontos.setFont(new Font("Lucida Console", Font.PLAIN, 11));
		lblPontos.setBounds(20, 30, 46, 14);
		internalFrame.getContentPane().add(lblPontos);
		
		JLabel cronometro = new JLabel("1:00:00");
		cronometro.setBounds(192, 7, 38, 20);
		internalFrame.getContentPane().add(cronometro);
		internalFrame.setVisible(true);
	}
}
